---艾露技能 闪现到被援护者旁
---@class SkillEffect13101:BaseSkillEffect
SkillEffect13101 = ClientFight.CreateClass("SkillEffect13101",ClientFight.BaseSkillEffect)
local t = SkillEffect13101
---@param skill FightUsingSkill
function t:releaseSkill(skill)
    local fight = skill.fight
    local fighter = skill.fighter
    local oldX = fighter.position.x
    local oldY = fighter.position.y
    -- 被援护者
    local target = skill.target

    local skillBean = skill.skill.skillBean
    local scriptParames = skillBean.f_SkillScriptParameter
    --前摇阶段
    skill.stage = FightSkillStageEnum.PREPARE

    skill.separate = skillBean.f_SkillOut == 1
    local x = 0;
    local y = 0;
    if (target.teamIndex == 0) then
        x = target.position.x + scriptParames[1];
        y = target.position.y + scriptParames[2];
    else
        x = target.position.x + scriptParames[1];
        y = target.position.y - scriptParames[2];
    end
    FighterManager.changePosition(fight, fighter, 0, x, y, 0, true, true);
    SkillRoleMgr.savePathFile(
    "[" .. fight.frame .. "][SKILL]Fighter " .. fighter.fighterId .. "," .. " 触发艾露技能 闪现到被援护者旁，目标："
    .. target.fighterId .. "坐标改变为：" .. fighter.position .. "  原坐标:" .. oldX .. "," .. oldY);
    return false;
end
function t:prepareSkill(skill,position)
    return false
end
function t:attack(skill,target)
    return false
end

t.New()